$(function(){
	
	$("#studentnext").click(function(){	
	    $("#xs").css("display","none");
	    $("#fuqi").css("display","block");
	    $("#img2").attr("src","images/y2.png");
	})
	
		$("#fatherreturn").click(function(){
		
	    $("#fuqi").css("display","none");
	    $("#mq").css("display","block");
	     $("#img3").attr("src","images/y3.png");
	})
		
		/*父亲上一步*/
		$("#fathernext").click(function(){
	
		 $("#img2").attr("src","images/ys2.png");
	    $("#fuqi").css("display","none");
	    $("#xs").css("display","block");
	})
				/*母亲上一步*/
		$("#mqs").click(function(){
		 $("#img3").attr("src","images/ys3.png");
	    $("#fuqi").css("display","block");
	    $("#mq").css("display","none");
	})
		
		$("#studentnext2").click(function(){
			 $("#dh2").attr("src","images/dhs2.png");
			   $("#xs2").css("display","none");
	    $("#qsxx").css("display","block");
	
		})
		
		$("#mqs2").click(function(){
			 $("#dh2").attr("src","images/dh2.png");
		$("#qsxx").css("display","none");
	    $("#xs2").css("display","block");
	
		})
})

